using System;
using System.Collections.Generic;

namespace Freshbooks.Client
{
    public class Invoice
    {
        public Invoice()
        {
            City = string.Empty;
            FirstName = string.Empty;
            CurrencyCode = string.Empty;
            Terms = string.Empty;
            LastName = string.Empty;
            Notes = string.Empty;
            Number = string.Empty;
            Status = InvoiceStatus.draft;
            Organization = string.Empty;
            Street1 = string.Empty;
            Street2 = string.Empty;
            State = string.Empty;
            Country = string.Empty;
            Code = string.Empty;
            InvoceItems = new List<InvoiceItem>();
            Date = DateTime.Now;
            Discount = 0;
            InvoiceFreshBooksId = 0;
            PurchaseOrderNumber = 0;
        }

        #region Properties

        public string City { get; set; }

        public int ClientID { get; set; }

        public string Code { get; set; }

        public string Country { get; set; }

        public DateTime Date { get; set; }

        public int Discount { get; set; }

        public string FirstName { get; set; }

        public List<InvoiceItem> InvoceItems { get; set; }

        public int InvoiceFreshBooksId { get; set; }

        public string LastName { get; set; }

        public string Notes { get; set; }

        public string Number { get; set; }

        public string Organization { get; set; }

        public int PurchaseOrderNumber { get; set; }

        public string State { get; set; }

        public InvoiceStatus Status { get; set; }

        public string Street1 { get; set; }

        public string Street2 { get; set; }

        public string Terms { get; set; }

        public string CurrencyCode { get; set; }

        #endregion
    }
}